package com.freejy.ecommunity.common;

public class Token {


    private Long uid;

    private String uuid;

    private String nickname;

    private String avatar;

    private Integer gender;

    private String token;

    private Long expires;


    public Token() {}

    public Token(Long uid, String nickname, String avatar, Integer gender) {
        this.uid = uid;
        this.nickname = nickname;
        this.avatar = avatar;
        this.gender = gender;
    }

    public Token(Long uid, String uuid, String nickname, String avatar, Integer gender, String token, Long expires) {
        this.uid = uid;
        this.uuid = uuid;
        this.nickname = nickname;
        this.avatar = avatar;
        this.gender = gender;
        this.token = token;
        this.expires = expires;
    }


    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Long getExpires() {
        return expires;
    }

    public void setExpires(Long expires) {
        this.expires = expires;
    }

}
